/**
 * Copyright (C) 2012 The SkyTvOS Project
 * <p/>
 * Version     Date           Author
 * ─────────────────────────────────────
 * 2015年4月8日         Root.Lu
 */

package com.coocaa.x.service.litecontent.providers.apps;

import android.content.Context;

import com.coocaa.x.framework.app.CoocaaApplication;
import com.coocaa.x.service.litecontent.LiteContentProvider;
import com.coocaa.x.service.litecontent.providers.apps.host.AppsHost_Com_Coocaa_App;

public class AppsProvider extends LiteContentProvider {
    private static final String MY_SCHEME = "apps";

    public AppsProvider(final Context context) {
        super(context);
        AppsHost_Com_Coocaa_App.create(context, this);
        CoocaaApplication.post(new Runnable() {
            @Override
            public void run() {
                LocalAppManager.create(context);
            }
        });
    }

    @Override
    public String myScheme() {
        return MY_SCHEME;
    }

}
